package com.ysd.service.impl;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.ysd.dao.PaymentDao;
import com.ysd.entity.Payment;
import com.ysd.service.PaymentService;

@Service
public class PaymentServiceImpl implements PaymentService{
    @Autowired
    private PaymentDao paymentDao;
    
    public Payment getPaymentById(long id) {
        return paymentDao.getPaymentById(id);
    }
}
